save variables from workspace